package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.TbBusiness;

/**
 * 商户Service接口
 *
 * @author liyu
 * @date 2023-04-24
 */
public interface ITbBusinessService
{
    /**
     * 查询商户
     *
     * @param id 商户主键
     * @return 商户
     */
    public TbBusiness selectTbBusinessById(Long id);

    /**
     * 查询商户列表
     *
     * @param tbBusiness 商户
     * @return 商户集合
     */
    public List<TbBusiness> selectTbBusinessList(TbBusiness tbBusiness);

    /**
     * 新增商户
     *
     * @param tbBusiness 商户
     * @return 结果
     */
    public int insertTbBusiness(TbBusiness tbBusiness);

    /**
     * 修改商户
     *
     * @param tbBusiness 商户
     * @return 结果
     */
    public int updateTbBusiness(TbBusiness tbBusiness);

    /**
     * 批量删除商户
     *
     * @param ids 需要删除的商户主键集合
     * @return 结果
     */
    public int deleteTbBusinessByIds(Long[] ids);

    /**
     * 删除商户信息
     *
     * @param id 商户主键
     * @return 结果
     */
    public int deleteTbBusinessById(Long id);
}
